package com.example.leetcode.simulation;

import com.example.leetcode.simulation.common.SimulationUtils;

class Solution2303 {
    public double calculateTax(int[][] brackets, int income) {
        return SimulationUtils.calculateTax(brackets, income);
    }
}

public class leetcode2303 {
    public static void main(String[] args) {
        Solution2303 solution2303 = new Solution2303();
        int[][] brackets = {{3, 50}, {7, 10}, {12, 25}};
        System.out.println(solution2303.calculateTax(brackets, 10));
    }
}
